package com.liyiqing.secondhandmall.productservice.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liyiqing.commonservice.utils.PageUtils;
import com.liyiqing.commonservice.utils.Query;

import com.liyiqing.secondhandmall.productservice.dao.ProductCommentReplyDao;
import com.liyiqing.secondhandmall.productservice.entity.ProductCommentReplyEntity;
import com.liyiqing.secondhandmall.productservice.service.ProductCommentReplyService;


@Service("productCommentReplyService")
public class ProductCommentReplyServiceImpl extends ServiceImpl<ProductCommentReplyDao, ProductCommentReplyEntity> implements ProductCommentReplyService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ProductCommentReplyEntity> page = this.page(
                new Query<ProductCommentReplyEntity>().getPage(params),
                new QueryWrapper<ProductCommentReplyEntity>()
        );

        return new PageUtils(page);
    }

}